package com.milk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.milk.entity.UserLottery;
import com.milk.vo.UserLotteryVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserLotteryMapper extends BaseMapper<UserLottery> {

    /**
     * 查看用户中奖记录
     * @param userId
     * @return
     */
    List<UserLotteryVO> selectRecordByUserId(Long userId);
}
